#ifndef  _BSP_RGB_LIGHT_H_
#define  _BSP_RGB_LIGHT_H_


typedef struct
{
	u8 light_mode;
	u8 bakup_light_mode;
	u8 timer_start;
	u8 light_step;
	u8 color_index;
	u8 time_cnt;
	u8 time_out;
}light_info_t;

enum {
	LIGHT_BT_PAIR=1,		//bt pair
	LIGHT_BT_CONNECTED,		//bt pair
	LIGHT_BT_IDLE,		//bt pair
	LIGHT_BT_PLAY,		//bt pair
	LIGHT_SET_OFF,
	LIGHT_SEQUENCE_0, 	//bt pair
    LIGHT_SEQUENCE_1,
    LIGHT_SEQUENCE_2,
    LIGHT_SEQUENCE_3A,
    LIGHT_SEQUENCE_3B,
    LIGHT_SEQUENCE_4A,
    LIGHT_SEQUENCE_4B,
    LIGHT_SEQUENCE_4C,
    LIGHT_SEQUENCE_4D,
    LIGHT_SEQUENCE_5,
    LIGHT_SEQUENCE_6A,//10
    LIGHT_SEQUENCE_6A_1,
    LIGHT_SEQUENCE_6B,
    LIGHT_SEQUENCE_6C,
    LIGHT_SEQUENCE_7,
    LIGHT_SEQUENCE_8,
    LIGHT_SEQUENCE_9,
    LIGHT_SEQUENCE_10,
    LIGHT_SEQUENCE_11,
    LIGHT_SEQUENCE_12,
    LIGHT_SEQUENCE_13,//20
    LIGHT_SEQUENCE_14,
    LIGHT_SEQUENCE_15,
    LIGHT_SEQUENCE_16A,
    LIGHT_SEQUENCE_16,
    LIGHT_SEQUENCE_17,//25
    LIGHT_SEQUENCE_18,
    LIGHT_SEQUENCE_19,
    LIGHT_SEQUENCE_20,
};
enum {
	RGB_COLOR_YELLOW=0,
	RGB_COLOR_PINK,
	RGB_COLOR_MAGENTA,
	RGB_COLOR_LIGHT_PURPLE,
	RGB_COLOR_PURPLE,
	RGB_COLOR_GREEN,
	RGB_COLOR_LIGHT_BLUE,
	RGB_COLOR_BLUE,
	RGB_COLOR_OFF,
	RGB_COLOR_RED,
	RGB_COLOR_ORANGE,
	RGB_COLOR_LIGHT_ORANGE,
	RGB_COLOR_WHITE,
};
enum {
	LED_1=0,
	LED_2,
	LED_3,
	LED_4,
	LED_5,
	LED_6,
	LED_7,
	LED_8,
};

extern light_info_t light_info;
void bsp_set_light_mode(u8 light_mode);
void bsp_light_timer(void);
void bsp_sequence_display_timer(void);
void bsp_set_sfx_mode(u8 light_mode);
void bsp_light_Sequence_6C_timer(void);
void bsp_set_light_onoff(void);



#endif //_BSP_LED_H_
